package cn.jaye.fabric.common.listener;

import org.springframework.context.ApplicationEvent;

/**
 * @author Jaye
 * @create 2018-04-02 17:02
 */
public class AddPeerConfigEvent extends ApplicationEvent {

    private static final long serialVersionUID = 1L;
    private String peerName;
    private String orgName;

    public AddPeerConfigEvent(Object source, String peerName, String orgName) {
        super(source);
        this.peerName = peerName;
        this.orgName = orgName;
    }

    public String getPeerName() {
        return peerName;
    }

    public String getOrgName() {
        return orgName;
    }
}
